<%@ page import="com.example.oa.TokenUtil" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>主页</title>
</head>
<body>
<h1>OA 管理系统</h1>
<form action="/OA" method="post">
    <input type="hidden" name="action"  value="sign_in">
    <input type="text" name="name" placeholder="NAME">
    <br>
    <input type="password" name="password" placeholder="PASSWORD">
    <br>
    <input type="submit" name="" id="sign in" value="登陆">
</form>
<a href="${pageContext.request.contextPath}/OA/sign_up.jsp">注册</a>
<p style="color: #FF0000">
    ${requestScope.message}
</p>
</body>
</html>